- title t('.title', type: @content_type.name.capitalize)

- help @content_type.description

- content_for :actions do
  = link_to t(:back, scope: 'locomotive.content_entries.shared').html_safe, content_entries_path(current_site, @content_type.slug, default_location_params), class: 'btn btn-sm btn-default'

= locomotive_form_for @content_entry, as: :content_entry, url: content_entries_path(current_site, @content_type.slug), html: { multipart: true, novalidate: true } do |f|

  = hidden_field_tag :active_tab, ''
  = hidden_field_tag :page, params[:page]
  = hidden_field_tag :q, params[:q]
  = hidden_field_tag :_location,  params[:_location]

  = f.action class: 'hide'

  = render 'locomotive/content_entries/form/tabs', f: f

  = render 'locomotive/content_entries/form/panes', f: f
